package org.skydiveapplibrary.data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LogEntry
{
	private int id;
	
	private int jumpNumber;
	private Date date;
	
	private SkydiveType skydiveType;
	private Location location;
	private Aircraft aircraft;	
	private List<Rig> rigs = new ArrayList<Rig>();
	
	private AltitudeUnit altitudeUnit;
	private Integer exitAltitude;
	private Integer deploymentAltitude;
	private Integer freeFallTimeSeconds;
		
	private boolean cutaway;
	
	private String notes;
	
	private byte[] diagram;
	
	private Signature signature;

	private Date lastModifiedUtc;
	private Date lastSignatureUtc;
	private String uniqueId;
	
	public int getId()
	{
		return id;
	}
	
	public void setId(int id)
	{
		this.id = id;
	}
	
	public int getJumpNumber()
	{
		return jumpNumber;
	}

	public void setJumpNumber(int jumpNumber)
	{
		this.jumpNumber = jumpNumber;
	}

	public Date getDate()
	{
		return date;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

	public Integer getExitAltitude()
	{
		return exitAltitude;
	}

	public void setExitAltitude(Integer exitAltitude)
	{
		this.exitAltitude = exitAltitude;
	}

	public AltitudeUnit getAltitudeUnit()
	{
		return altitudeUnit;
	}

	public void setAltitudeUnit(AltitudeUnit altitudeUnit)
	{
		this.altitudeUnit = altitudeUnit;
	}

	public Integer getDeploymentAltitude()
	{
		return deploymentAltitude;
	}

	public void setDeploymentAltitude(Integer deploymentAltitude)
	{
		this.deploymentAltitude = deploymentAltitude;
	}

	public Integer getFreeFallTimeSeconds()
	{
		return freeFallTimeSeconds;
	}

	public void setFreeFallTimeSeconds(Integer freeFallTimeSeconds)
	{
		this.freeFallTimeSeconds = freeFallTimeSeconds;
	}

	public Location getLocation()
	{
		return location;
	}

	public void setLocation(Location location)
	{
		this.location = location;
	}

	public Aircraft getAircraft()
	{
		return aircraft;
	}

	public void setAircraft(Aircraft aircraft)
	{
		this.aircraft = aircraft;
	}
	
	public List<Rig> getRigs()
	{
		return rigs;
	}
	
	public boolean isCutaway()
	{
		return cutaway;
	}

	public void setCutaway(boolean cutaway)
	{
		this.cutaway = cutaway;
	}

	public SkydiveType getSkydiveType()
	{
		return skydiveType;
	}

	public void setSkydiveType(SkydiveType skydiveType)
	{
		this.skydiveType = skydiveType;
	}
	
	public byte[] getDiagram()
	{
		return diagram;
	}

	public void setDiagram(byte[] diagram)
	{
		this.diagram = diagram;
	}

	public String getNotes()
	{
		return notes;
	}

	public void setNotes(String notes)
	{
		this.notes = notes;
	}
	
	public Signature getSignature() 
	{
		return signature;
	}
	
	public void setSignature(Signature signature)
	{
		this.signature = signature;
	}
	
	public Date getLastModifiedUtc()
	{
		return lastModifiedUtc;
	}

	public void setLastModifiedUtc(Date lastModifiedUtc)
	{
		this.lastModifiedUtc = lastModifiedUtc;
	}
	
	public Date getLastSignatureUtc()
	{
		return lastSignatureUtc;
	}

	public void setLastSignatureUtc(Date lastSignatureUtc)
	{
		this.lastSignatureUtc = lastSignatureUtc;
	}

	public String getUniqueId()
	{
		return uniqueId;
	}
	
	public void setUniqueId(String uniqueId)
	{
		this.uniqueId = uniqueId;
	}
}